package com.zline.foodraise.entity;

import java.util.List;

/**
 * Created by heshantao on 15/7/23.
 * 项目
 */
public class ProjectBean {
    //品牌Id
    long brandId;
    //已筹集金额
    float currentAmount;
    //已参与人数
    int currentCount;
    //已筹集金额进度
    double currentRatio;
    //项目详情图片
    String detailPicUrl;
    //是否关注
    int isAttention;
    //当前用户是否已经购买此项目
    int isBought;
    //图片列表
    List<PictureBean> pictureBeanList;
    //项目总关注人数
    int projectAttentionCount;
    //众筹分类Id
    long projectCategoryId;
    //配送列表
    List<ProjectDeliveryBean> projectDeliveryBeanList;
    //项目详情
    ProjectDetailBean projectDetailBean;
    //项目Id
    long projectId;
    //项目名称
    String projectName;
    //项目概要
    String projectSummary;
    //目标总人数
    int satisfyCount;
    //目标总金额
    double satisfyPrice;
    //状态：1.审核中2筹资中3研发中4项目成功5销售中6项目失败
    int status;
    //标签列表
    List<TagBean> tagBeanList;
    //还剩多少时间(时间戳)
    long timeLeft;
    //用户
    UserBean userBean;
    //用户Id
    long userId;
    //筹资截止时间戳
    long endTimeStamp;
    //研发截止时间戳
    long researchTimeStamp;
    //销售开始时间戳
    long saleTimeStamp;

    public ProjectBean() {
    }

    public ProjectBean(long brandId, float currentAmount, int currentCount,
                       double currentRatio, String detailPicUrl, long endTimeStamp,
                       int isAttention, int isBought, List<PictureBean> pictureBeanList,
                       int projectAttentionCount, long projectCategoryId,
                       List<ProjectDeliveryBean> projectDeliveryBeanList,
                       ProjectDetailBean projectDetailBean, long projectId, String projectName,
                       String projectSummary, long researchTimeStamp, long saleTimeStamp,
                       int satisfyCount, double satisfyPrice, int status,
                       List<TagBean> tagBeanList, long timeLeft, UserBean userBean, long userId,double price) {
        this.brandId = brandId;
        this.currentAmount = currentAmount;
        this.currentCount = currentCount;
        this.currentRatio = currentRatio;
        this.detailPicUrl = detailPicUrl;
        this.endTimeStamp = endTimeStamp;
        this.isAttention = isAttention;
        this.isBought = isBought;
        this.pictureBeanList = pictureBeanList;
        this.projectAttentionCount = projectAttentionCount;
        this.projectCategoryId = projectCategoryId;
        this.projectDeliveryBeanList = projectDeliveryBeanList;
        this.projectDetailBean = projectDetailBean;
        this.projectId = projectId;
        this.projectName = projectName;
        this.projectSummary = projectSummary;
        this.researchTimeStamp = researchTimeStamp;
        this.saleTimeStamp = saleTimeStamp;
        this.satisfyCount = satisfyCount;
        this.satisfyPrice = satisfyPrice;
        this.status = status;
        this.tagBeanList = tagBeanList;
        this.timeLeft = timeLeft;
        this.userBean = userBean;
        this.userId = userId;
    }

    public void setCurrentAmount(float currentAmount) {
        this.currentAmount = currentAmount;
    }


    public long getBrandId() {
        return brandId;
    }

    public void setBrandId(long brandId) {
        this.brandId = brandId;
    }

    public float getCurrentAmount() {
        return currentAmount;
    }

    public void setCurrentAmount(int currentAmount) {
        this.currentAmount = currentAmount;
    }

    public int getCurrentCount() {
        return currentCount;
    }

    public void setCurrentCount(int currentCount) {
        this.currentCount = currentCount;
    }

    public double getCurrentRatio() {
        return currentRatio;
    }

    public void setCurrentRatio(double currentRatio) {
        this.currentRatio = currentRatio;
    }

    public int getIsAttention() {
        return isAttention;
    }

    public void setIsAttention(int isAttention) {
        this.isAttention = isAttention;
    }

    public int getIsBought() {
        return isBought;
    }

    public void setIsBought(int isBought) {
        this.isBought = isBought;
    }

    public List<PictureBean> getPictureBeanList() {
        return pictureBeanList;
    }

    public void setPictureBeanList(List<PictureBean> pictureBeanList) {
        this.pictureBeanList = pictureBeanList;
    }

    public int getProjectAttentionCount() {
        return projectAttentionCount;
    }

    public void setProjectAttentionCount(int projectAttentionCount) {
        this.projectAttentionCount = projectAttentionCount;
    }

    public long getProjectCategoryId() {
        return projectCategoryId;
    }

    public void setProjectCategoryId(long projectCategoryId) {
        this.projectCategoryId = projectCategoryId;
    }

    public List<ProjectDeliveryBean> getProjectDeliveryBeanList() {
        return projectDeliveryBeanList;
    }

    public void setProjectDeliveryBeanList(List<ProjectDeliveryBean> projectDeliveryBeanList) {
        this.projectDeliveryBeanList = projectDeliveryBeanList;
    }

    public ProjectDetailBean getProjectDetailBean() {
        return projectDetailBean;
    }

    public void setProjectDetailBean(ProjectDetailBean projectDetailBean) {
        this.projectDetailBean = projectDetailBean;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectSummary() {
        return projectSummary;
    }

    public void setProjectSummary(String projectSummary) {
        this.projectSummary = projectSummary;
    }

    public int getSatisfyCount() {
        return satisfyCount;
    }

    public void setSatisfyCount(int satisfyCount) {
        this.satisfyCount = satisfyCount;
    }

    public double getSatisfyPrice() {
        return satisfyPrice;
    }

    public void setSatisfyPrice(double satisfyPrice) {
        this.satisfyPrice = satisfyPrice;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public List<TagBean> getTagBeanList() {
        return tagBeanList;
    }

    public void setTagBeanList(List<TagBean> tagBeanList) {
        this.tagBeanList = tagBeanList;
    }

    public long getTimeLeft() {
        return timeLeft;
    }

    public void setTimeLeft(long timeLeft) {
        this.timeLeft = timeLeft;
    }


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getDetailPicUrl() {
        return detailPicUrl;
    }

    public void setDetailPicUrl(String detailPicUrl) {
        this.detailPicUrl = detailPicUrl;
    }

    public long getEndTimeStamp() {
        return endTimeStamp;
    }

    public void setEndTimeStamp(long endTimeStamp) {
        this.endTimeStamp = endTimeStamp;
    }

    public long getResearchTimeStamp() {
        return researchTimeStamp;
    }

    public void setResearchTimeStamp(long researchTimeStamp) {
        this.researchTimeStamp = researchTimeStamp;
    }

    public long getSaleTimeStamp() {
        return saleTimeStamp;
    }

    public void setSaleTimeStamp(long saleTimeStamp) {
        this.saleTimeStamp = saleTimeStamp;
    }

    public UserBean getUserBean() {
        return userBean;
    }

    public void setUserBean(UserBean userBean) {
        this.userBean = userBean;
    }
}
